package cn.com.swu.mianyangapp.bean;

import java.util.Date;

public class Text {
    private Integer textID;
    private String textTitle;
    private String textContent;
    private String sendTele;
    private String recvTele;
    private String sendTime;//当短信还是草稿时，sendTime用来保存最近一次的保存时间
    private String recvTime;
    private Integer type;//type为0表示正文，已发送；type为1表示草稿，未发送
    private Integer isRead;//为0表示已读，为1表示未读

    public Integer getTextID() {
        return textID;
    }

    public void setTextID(Integer textID) {
        this.textID = textID;
    }

    public String getTextTitle() {
        return textTitle;
    }

    public void setTextTitle(String textTitle) {
        this.textTitle = textTitle;
    }

    public String getTextContent() {
        return textContent;
    }

    public void setTextContent(String textContent) {
        this.textContent = textContent;
    }

    public String getSendTele() {

        return sendTele;
    }

    public void setSendTele(String sendTele) {
        this.sendTele = sendTele;
    }

    public String getRecvTele() {
        return recvTele;
    }

    public void setRecvTele(String recvTele) {
        this.recvTele = recvTele;
    }

    public String getSendTime() {
        return sendTime;
    }

    public void setSendTime(String sendTime) {
        this.sendTime = sendTime;
    }

    public String getRecvTime() {
        return recvTime;
    }

    public void setRecvTime(String recvTime) {
        this.recvTime = recvTime;
    }

    public Integer getIsRead() {
        return isRead;
    }

    public void setIsRead(Integer isRead) {
        this.isRead = isRead;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public void Text(){}

    public void Text(Integer textID, Integer type) {
        this.textID = textID;
        this.type = type;
    }

    @Override
    public String toString() {
        return "Text{" +
                "textID=" + textID +
                ", textTitle='" + textTitle + '\'' +
                ", textContent='" + textContent + '\'' +
                ", sendTele='" + sendTele + '\'' +
                ", recvTele='" + recvTele + '\'' +
                ", sendTime=" + sendTime +
                ", recvTime=" + recvTime +
                ", type=" + type +
                ", isRead=" + isRead +
                '}';
    }
}
